package cn.wolfcode.cms.mapper;

import cn.wolfcode.cms.domain.ExpenditureItems;
import cn.wolfcode.cms.query.QueryObject;

import java.util.List;

public interface ExpenditureItemsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExpenditureItems record);

    ExpenditureItems selectByPrimaryKey(Long id);

    List<ExpenditureItems> selectAll();

    int updateByPrimaryKey(ExpenditureItems record);

    int queryForCount(QueryObject qo);

    List<ExpenditureItems> queryForList(QueryObject qo);

    Object getTotalAmount();

    List<ExpenditureItems> getAnalysis();
}